package com.pll.controller.admin.commodity.vo;

import com.pll.vo.PageInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @className: CommodityPaginationVO
 * @author: XR_Z
 * @date: 2025/6/8 23:20
 * @Version: 1.0
 * @description: 商品分页VO
 */

@Data
//@NoArgsConstructor
//@AllArgsConstructor
public class CommodityPaginationVO{

    @Schema(description = "商品名称", example = "考霸王龙")
    private String goodName;

    @Schema(description = "商品分类名称", example = "烧烤")
    private String goodTypeName;

    @Schema(description = "商品状态", example = "售罄")
    private Integer goodSpecification;

    @Schema(description = "销售方式", example = "外卖")
    private Integer goodUnit;

    @Schema(description = "开始时间", example = "2021-03-21 08:34:40")
    private LocalDateTime startTime;

    @Schema(description = "结束时间", example = "2021-03-21 10:34:40")
    private LocalDateTime endTime;

    @Schema(description = "当前页码，从1开始", example = "1")
    private int pageNum;

    @Schema(description = "每页大小", example = "10")
    private int pageSize;
}
